import React, { Component } from 'react'
import MyContext from '@/mycontext'
export default class GrandSon extends Component {
  render() {

    return (
      <div style={{
        display:'flex',
        justifyContent:'center',
        alignItems:'center',
        width:'100px',
        height:'100px',
        backgroundColor:'skyblue'
      }}>{this.context.msg}</div>
    )
  }
}
GrandSon.contextType=MyContext
